<script>
	export default {
		onLaunch: function(query) {

			
		},
		onLoad() {

		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {
			GetwxUrlParam(url) {
				let theRequest = {};
				if (url.indexOf("#") != -1) {
					const str = url.split("#")[1];
					const strs = str.split("&");
					for (let i = 0; i < strs.length; i++) {
						theRequest[strs[i].split("=")[0]] = decodeURI(strs[i].split("=")[1]);
					}
				} else if (url.indexOf("?") != -1) {
					const str = url.split("?")[1];
					const strs = str.split("&");
					for (let i = 0; i < strs.length; i++) {
						theRequest[strs[i].split("=")[0]] = decodeURI(strs[i].split("=")[1]);
					}
				}
				return theRequest;
			},
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import './tuniao-ui/index.scss';
	@import './tuniao-ui/iconfont.css';
	@import "@/uni_modules/uview-ui/index.scss";
	@font-face {
		font-family: 'DINNextLTPro-Bold';
		src: url('https://mp-3a69df4a-baf3-44d5-8d88-840ff648bb43.cdn.bspapp.com/cloudstorage/DIN.ttf') format('truetype');
	}

	@font-face {
		font-family: 'AlimamaShuHeiTi';
		src: url('https://mp-3a69df4a-baf3-44d5-8d88-840ff648bb43.cdn.bspapp.com/cloudstorage/AlimamaShuHeiTi.ttf') format('truetype');
	}

	@font-face {
		font-family: 'AlimamaFangYuanTiVF-Medium';
		src: url('https://mp-3a69df4a-baf3-44d5-8d88-840ff648bb43.cdn.bspapp.com/cloudstorage/AlimamaFangYuanTiVF-Medium.ttf') format('truetype');
	}

	.kef {
		width: 111rpx;
		height: 115rpx;
		position: fixed;
		bottom: 235rpx;
		right: 15rpx;
	}

	.keficon {
		width: 111rpx;
		height: 115rpx;
	}

	// 	AlimamaFangYuanTiVF-Medium.ttf
	.topbg {
		width: 750rpx;
		height: 358rpx;
		position: fixed;
		top: 0;
		left: 0;
	}
</style>